#!/bin/sh
# multicast/waitgo
# 
# Part of the CCNx distribution.
#
# Copyright (C) 2009 Palo Alto Research Center, Inc.
#
# This work is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 2 as published by the
# Free Software Foundation.
# This work is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.
#
. ./settings
export CCN_LINGER=60
ccndsmoketest presence.ccnb >&2
until ccnget -c /experiments/multicast/GO >/tmp/gostamp$$; do
   echo `hostname` waiting for go signal - `date` >&2
   ccndsmoketest presence.ccnb >&2
done
cat /tmp/gostamp$$ && rm /tmp/gostamp$$
